<cpanel setvar="headerimg=../images/mailmenu.gif">
<cpanel setvar="dprefix=../">
<cpanel Branding="include(stdheader.html)">
<div class="body-content">
  <cpanelfeature cgpro_caller_queues>
  <div class="h1Title"><cpanel langprint="CGPCallerQueues"></div>

  <p><a class="create-button" href="addqueue.html"><cpanel langprint="CGPCreateQueue"></a></p>
  <h2><cpanel langprint="CGPCallerQueues"></h2>
  <table border="0" cellpadding="5" width="550" cellspacing="0" id="mailtbl" class="sortable truncate-table">
    <colgroup>
      <col width="35%" align="left" />
      <col width="35%" align="left" />
      <col width="15%" align="center" />
    </colgroup>
    <tr>
      <th><cpanel langprint="CGPQueueName"></th>
      <th><cpanel langprint="CGPDepartment"></th>
      <th class="sorttable_nosort"><cpanel langprint="FTPFunctions"></th>
    </tr>
    
    <?cp CommuniGate::ListQueues(
	 [tr class="row-%"]
	 [td class="truncate nobrd-left"]%[/td]
	 [td class="truncate"]%[/td]
	 [td][a href="addqueue.html?queue=%"]$LANG{'CGPViewEdit'}[/a]\, [a href="deletequeue.html?queue=%&amp;name=%"]$LANG{'BrandingDPackage'}[/a][/td]
	 [/tr]
	 ,*num,name,department,queue,queue,name) domain=$FORM{'domain'},regex=$FORM{'searchregex'},api2_paginate=1,api2_paginate_start=$FORM{'api2_paginate_start'},api2_paginate_size=$CPVAR{'itemsperpage'} || '[tr][td colspan="5" class="errors"]$LANG{'CGPNoQeueues'}.[/td][/tr]' ?>

  </table>
  </cpanelfeature>
</div><!-- end body-content -->

<cpanel Branding="include(stdfooter.html)">
